package com.benew.ntt.ydeval.view.wiget

import android.content.Context
import android.util.AttributeSet
import android.view.View
import androidx.core.widget.NestedScrollView
import com.blankj.utilcode.util.ScreenUtils

class EvalScrollView(context: Context, attrs: AttributeSet?) :
    NestedScrollView(context, attrs) {

    override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
        super.onMeasure(
            widthMeasureSpec,
            View.MeasureSpec.makeMeasureSpec(ScreenUtils.getAppScreenHeight() / 3, View.MeasureSpec.AT_MOST)
        )
    }
}